@charset "UTF-8";
@import "../../../assets/sass/mixin";
.sidebar-wrapper {
  position: absolute;
  height: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  background-color: #293038;
  .toggle-bar {
    cursor: pointer;
    height: 30px;
    line-height: 30px;
    text-align: center;
    color: #aeb9c2;
    font-size: 20px;
    background-color: #394555;
    user-select: none;
    > .btn-toggle {
      display: block;
    }
  }
  .sidebar-menu-fold {
    .sidebar-menu {
      height: 0 !important;
      overflow: hidden;
    }
  }
}

.sidebar-cont {
  a {
    display: block;
    height: 40px;
    line-height: 40px;
    overflow: hidden;
    color: #fff;
    &:hover {
      background-color: #37424f;
      text-decoration: none;
    }
  }
}

.sidebar-menu {
  transition: .15s all ease;
  .active {
    position: relative;
    &:after {
      position: absolute;
      right: -12px;
      top: 14px;
      content: "";
      @include triangle(12px,#337AB7,'right')
    }
    > a {
      text-decoration: none;
      background-color: rgb(51, 122, 183);
      &:hover {
        background-color: rgb(51, 122, 183);
      }
    }
  }
}

.sidebar-menu-item {
  .menu-icon {
    float: left;
    width: 30px;
    margin: 0 15px 0 10px;
    text-align: center;
    transition: all .3s ease;
  }
  .fa {
    font-size: 16px;
  }
}

.sidebar-title {
  background-color: #222;
  color: #fff;
  height:40px;
  line-height:40px;
  cursor: pointer;
  overflow: hidden;
  .title-icon {
    float: left;
    width: 30px;
    margin: 0 5px 0 10px;
    text-align: center;
  }
}

.sidebar-tooltip {
  .tooltip-inner {
    padding: 6px 12px;
    border-radius: 0;
  }
}

.sidebar-loading {
  position: relative;
  margin-top: 20px;
  font-size: 24px;
  text-align: center;
  z-index: 10001;
  color: #fff;
}
